package com.example.project.exception;

import lombok.Getter;
/**
 * 自定义异常类
 */
@Getter
public class BusinessException extends RuntimeException {
    private final int statusCode;

    public BusinessException(int statusCode, String message) {
        super(message);
        this.statusCode = statusCode;
    }

}
